From 459bb28bde16b650fe10ed59e95eb775871ef4e9 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 15 Jan 2003 17:05:46 +0000 Subject: [PATCH] Toss non-ascii chars when creating shortnames. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@235 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/mkshort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/mkshort.c b/gpsbabel/mkshort.c index a551750d4..e586af236 100644 --- a/gpsbabel/mkshort.c +++ b/gpsbabel/mkshort.c @@ -144,12 +144,13 @@ mkshort(const char *istring) /* * Eliminate chars on the blacklist. + * Characters that aren't ASCII are never OK. */ tstring = xstrdup(ostring); l = strlen (tstring); cp = ostring; for (i=0;i